﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CreateProduct.aspx.cs"
    Inherits="CoolCode.Web.UI.Views.Check.CreateProduct" Theme="Default" EnableViewState="false"
    EnableViewStateMac="false" EnableSessionState="ReadOnly" %>
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>产品录入</title>
</head>
<body>
    <form id="form1" runat="server">
    <ajaxToolkit:ToolkitScriptManager ID="tsmAjax" runat="server">
    </ajaxToolkit:ToolkitScriptManager>
    <cc:Loading runat="server" />
    <asp:UpdatePanel ID="udpEntry" runat="server" UpdateMode="Conditional">
        <ContentTemplate>
            <asp:Panel ID="pnlEntry" runat="server">
                <div class="generalDialog" align="center">
                    <div id="EntryHeader" class="Header">
                        <asp:Label ID="EntryTitle" runat="server" Text="产品录入"></asp:Label>
                    </div>
                    <div>
                        <table cellspacing="5" width="800px">
                            <tr>
                                <td align="right" style="width: 200px;">
                                    <asp:Label ID="lblLotNo" runat="server" Text="批号"></asp:Label>
                                </td>
                                <td align="left" style="width: 250px;">
                                    <asp:TextBox ID="txtLotNo" runat="server" CssClass="FlatTextBox" Width="120px" MaxLength="10"></asp:TextBox>
                                    <%--<span class="Required">*</span>--%>
                                </td>
                            </tr>
                            <tr>
                                <td align="right">
                                    <asp:Label ID="lblProductID" runat="server" Text="产品编号"></asp:Label>
                                </td>
                                <td align="left">
                                    <asp:TextBox ID="txtProductID" runat="server" CssClass="FlatTextBox" Width="120px"
                                        MaxLength="20"></asp:TextBox><%--<span class="Required">*</span>--%>
                                    <asp:RequiredFieldValidator ID="rvProductID" runat="server" ControlToValidate="txtProductID"
                                        ErrorMessage="*"></asp:RequiredFieldValidator>
                                </td>
                                <td align="right" style="width: 100px"><asp:HiddenField 
                                    <asp:Label ID="lblProductSpec" runat="server" Text="产品规格"></asp:Label>
                                </td>
                                <td align="left" style="width: 200px">
                                    <asp:TextBox ID="txtProductSpec" runat="server" CssClass="FlatTextBox" Width="120px"
                                        MaxLength="10"></asp:TextBox><%--<span class="Required">*</span>--%>
                                    <asp:RequiredFieldValidator ID="rvProductSpec" runat="server" ControlToValidate="txtProductSpec"
                                        ErrorMessage="*"></asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td align="right">
                                    <asp:Label ID="lblChecker" runat="server" Text="检验员"></asp:Label>
                                </td>
                                <td align="left">
                                    <asp:TextBox ID="txtChecker" runat="server" CssClass="FlatTextBox" Width="120px"
                                        MaxLength="20"></asp:TextBox><%--<span class="Required">*</span>--%>
                                    <asp:RequiredFieldValidator ID="rvChecker" runat="server" ControlToValidate="txtChecker"
                                        ErrorMessage="*"></asp:RequiredFieldValidator>
                                </td>
                                <td align="right">
                                    <asp:Label ID="lblCheckDate" runat="server" Text="检验时间"></asp:Label>
                                </td>
                                <td align="left">
                                    <cc:WebCalendar ID="cdrCheckDate" runat="server"></cc:WebCalendar>
                                </td>
                            </tr>
                            <tr>
                                <td align="right">
                                    <asp:Label ID="lblFace" runat="server" Text="胶面"></asp:Label>
                                </td>
                                <td align="left">
                                    <asp:TextBox ID="txtFace" runat="server" CssClass="FlatTextBox" Width="120px" MaxLength="20"></asp:TextBox>
                                    <%--<span class="Required">*</span>--%>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtFace"
                                        ErrorMessage="*"></asp:RequiredFieldValidator>
                                </td>
                                <td align="right">
                                    <asp:Label ID="lblBurse" runat="server" Text="囊"></asp:Label>
                                </td>
                                <td align="left">
                                    <asp:TextBox ID="txtBurse" runat="server" CssClass="FlatTextBox" Width="120px" MaxLength="20"></asp:TextBox>
                                    <%--<span class="Required">*</span>--%>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtBurse"
                                        ErrorMessage="*"></asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td align="right">
                                    <asp:Label ID="lblDrawback" runat="server" Text="缩腰件"></asp:Label>
                                </td>
                                <td align="left">
                                    <asp:TextBox ID="txtDrawback" runat="server" CssClass="FlatTextBox" Width="120px"
                                        MaxLength="20"></asp:TextBox><%--<span class="Required">*</span>--%>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtDrawback"
                                        ErrorMessage="*"></asp:RequiredFieldValidator>
                                </td>
                                <td align="right">
                                    <asp:Label ID="lblAppearance" runat="server" Text="外观"></asp:Label>
                                </td>
                                <td align="left">
                                    <asp:TextBox ID="txtAppearance" runat="server" CssClass="FlatTextBox" Width="120px"
                                        MaxLength="20"></asp:TextBox><%--<span class="Required">*</span>--%>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="txtAppearance"
                                        ErrorMessage="*"></asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td align="right">
                                    <asp:Label ID="lblODFar" runat="server" Text="胶面外径（远/近）"></asp:Label>
                                </td>
                                <td align="left">
                                    <asp:TextBox ID="txtODFar" runat="server" CssClass="FlatTextBox" Width="60px" MaxLength="8"></asp:TextBox><%--<span class="Required">*</span>--%>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="txtODFar"
                                        ErrorMessage="*"></asp:RequiredFieldValidator>/
                                    <asp:TextBox ID="txtODClose" runat="server" CssClass="FlatTextBox" Width="60px" MaxLength="8"></asp:TextBox>
                                    <%--<span class="Required">*</span>--%><asp:RequiredFieldValidator ID="RequiredFieldValidator13"
                                        runat="server" ControlToValidate="txtODClose" ErrorMessage="*"></asp:RequiredFieldValidator>
                                </td>
                                <td align="right">
                                    <asp:Label ID="lblConeHeight" runat="server" Text="锥体高度"></asp:Label>
                                </td>
                                <td align="left">
                                    <asp:TextBox ID="txtConeHeight" runat="server" CssClass="FlatTextBox" Width="120px"
                                        MaxLength="8"></asp:TextBox><%--<span class="Required">*</span>--%>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ControlToValidate="txtConeHeight"
                                        ErrorMessage="*"></asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td align="right">
                                    <asp:Label ID="lblSacculusLength" runat="server" Text="球囊长度"></asp:Label>
                                </td>
                                <td align="left">
                                    <asp:TextBox ID="txtSacculusLength" runat="server" CssClass="FlatTextBox" Width="120px"
                                        MaxLength="8"></asp:TextBox><%--<span class="Required">*</span>--%>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" ControlToValidate="txtSacculusLength"
                                        ErrorMessage="*"></asp:RequiredFieldValidator>
                                </td>
                                <td align="right">
                                    <asp:Label ID="lblSacculusStretch" runat="server" Text="球囊伸长长度"></asp:Label>
                                </td>
                                <td align="left">
                                    <asp:TextBox ID="txtSacculusStretch" runat="server" CssClass="FlatTextBox" Width="120px"
                                        MaxLength="8"></asp:TextBox><%--<span class="Required">*</span>--%>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" ControlToValidate="txtSacculusStretch"
                                        ErrorMessage="*"></asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td align="right">
                                    <asp:Label ID="lblStressTest" runat="server" Text="220KPa压力测试（外径/长度）"></asp:Label>
                                </td>
                                <td align="left" colspan="3">
                                    <asp:TextBox ID="txtODStressTest1" runat="server" CssClass="FlatTextBox" Width="60px"
                                        MaxLength="8"></asp:TextBox><%--<span class="Required">*</span>--%>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator9" runat="server" ControlToValidate="txtODStressTest1"
                                        ErrorMessage="*"></asp:RequiredFieldValidator>/
                                    <asp:TextBox ID="txtODStressTest2" runat="server" CssClass="FlatTextBox" Width="60px"
                                        MaxLength="8"></asp:TextBox><%--<span class="Required">*</span>--%>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator14" runat="server" ControlToValidate="txtODStressTest2"
                                        ErrorMessage="*"></asp:RequiredFieldValidator>//
                                    <asp:TextBox ID="txtStressTestLength" runat="server" CssClass="FlatTextBox" Width="60px"
                                        MaxLength="8"></asp:TextBox><%--<span class="Required">*</span>--%>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator15" runat="server" ControlToValidate="txtStressTestLength"
                                        ErrorMessage="*"></asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td align="right">
                                    <asp:Label ID="lblInterlayer" runat="server" Text="夹层"></asp:Label>
                                </td>
                                <td align="left">
                                    <asp:TextBox ID="txtInterlayer" runat="server" CssClass="FlatTextBox" Width="120px"
                                        MaxLength="20"></asp:TextBox><%--<span class="Required">*</span>--%>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator10" runat="server" ControlToValidate="txtInterlayer"
                                        ErrorMessage="*"></asp:RequiredFieldValidator>
                                </td>
                                <td align="right">
                                    <asp:Label ID="lblDegumming" runat="server" Text="脱胶、反胶"></asp:Label>
                                </td>
                                <td align="left">
                                    <asp:TextBox ID="txtDegumming" runat="server" CssClass="FlatTextBox" Width="120px"
                                        MaxLength="20"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator11" runat="server" ControlToValidate="txtDegumming"
                                        ErrorMessage="*"></asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td align="right">
                                    <asp:Label ID="lblRemark" runat="server" Text="备注"></asp:Label>
                                </td>
                                <td align="left" colspan="3">
                                    <asp:TextBox ID="txtRemark" runat="server" CssClass="FlatTextBox" Width="500px" MaxLength="200"
                                        TextMode="MultiLine" Height="100"></asp:TextBox>
                                    <%--<asp:RequiredFieldValidator ID="RequiredFieldValidator12" runat="server" ControlToValidate="txtRemark"
                                        ErrorMessage="*"></asp:RequiredFieldValidator>--%>
                                </td>
                            </tr>
                        </table>
                    </div>
                    <!--Hidden-->
                    <div style="display: none">
                        <asp:TextBox ID="txtID" runat="server"></asp:TextBox>
                    </div>
                    <div class="Toolbar">
                        <asp:Button ID="btnSave" runat="server" CssClass="FlatButton" Text="保存" />
                    </div>
                </div>
            </asp:Panel>
            <!--Suggestions-->
            <%--  <cc:StyledAutoCompleteExtender runat="server" ID="aceSearchSuggest" TargetControlID="txtProductSpec"
            ServiceMethod="ListTips" ServicePath="~/WebServices/ProductService.asmx" MinimumPrefixLength="0"
            CompletionInterval="500" EnableCaching="false" CompletionSetCount="20" CompletionListCssClass="completionListElement"
            CompletionListItemCssClass="listItem" CompletionListHighlightedItemCssClass="highlightedListItem"
            DelimiterCharacters=";, :" ShowOnlyCurrentWordInCompletionListItem="true" >                       
            <ItemTemplate>
				<span style="float:left;" class="keywords">{2}&nbsp;</span> 
				<span style="float:right;" class="result">{1}&nbsp; uses</span>	 
				<div style="clear:both;"></div> 
            </ItemTemplate> 
        </cc:StyledAutoCompleteExtender> --%>
            <cc:StyledAutoCompleteExtender ID="aceSearchSuggest" runat="server" SkinID="aceSuggest"
                TargetControlID="txtProductSpec" ServicePath="~/WebServices/ProductService.asmx"
                ServiceMethod="ListTips_Spec"  >
            </cc:StyledAutoCompleteExtender>
            <cc:StyledAutoCompleteExtender ID="StyledAutoCompleteExtender1" runat="server" SkinID="aceSuggest"
                TargetControlID="txtChecker" ServicePath="~/WebServices/ProductService.asmx"
                ServiceMethod="ListTips_Checker">
            </cc:StyledAutoCompleteExtender>
            <cc:StyledAutoCompleteExtender ID="StyledAutoCompleteExtender2" runat="server" SkinID="aceSuggest"
                TargetControlID="txtAppearance" ServicePath="~/WebServices/ProductService.asmx"
                ServiceMethod="ListTips_Appearance">
            </cc:StyledAutoCompleteExtender>
            <cc:StyledAutoCompleteExtender ID="StyledAutoCompleteExtender3" runat="server" SkinID="aceSuggest"
                TargetControlID="txtBurse" ServicePath="~/WebServices/ProductService.asmx" ServiceMethod="ListTips_Burse">
            </cc:StyledAutoCompleteExtender>
            <cc:StyledAutoCompleteExtender ID="StyledAutoCompleteExtender4" runat="server" SkinID="aceSuggest"
                TargetControlID="txtDrawback" ServicePath="~/WebServices/ProductService.asmx"
                ServiceMethod="ListTips_Drawback">
            </cc:StyledAutoCompleteExtender>
            <cc:StyledAutoCompleteExtender ID="StyledAutoCompleteExtender5" runat="server" SkinID="aceSuggest"
                TargetControlID="txtInterlayer" ServicePath="~/WebServices/ProductService.asmx"
                ServiceMethod="ListTips_Interlayer">
            </cc:StyledAutoCompleteExtender>
            <cc:StyledAutoCompleteExtender ID="StyledAutoCompleteExtender6" runat="server" SkinID="aceSuggest"
                TargetControlID="txtDegumming" ServicePath="~/WebServices/ProductService.asmx"
                ServiceMethod="ListTips_Degumming">
            </cc:StyledAutoCompleteExtender>
            <cc:StyledAutoCompleteExtender ID="StyledAutoCompleteExtender7" runat="server" SkinID="aceSuggest"
                TargetControlID="txtFace" ServicePath="~/WebServices/ProductService.asmx" ServiceMethod="ListTips_Face">
            </cc:StyledAutoCompleteExtender>
        </ContentTemplate>
    </asp:UpdatePanel>
    </form>
</body>
</html>
